﻿using System;
namespace hotel.Model
{
    /// <summary>
    /// tb_booking:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tb_booking
    {
        public tb_booking()
        { }
        #region Model
        private int _id;
        private string _name;
        private string _email;
        private string _phone;
        private int _room;
        private DateTime _time;
        private string _context;
        private bool _is_chack;
        private bool _chekin;
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int room
        {
            set { _room = value; }
            get { return _room; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime time
        {
            set { _time = value; }
            get { return _time; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string context
        {
            set { _context = value; }
            get { return _context; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool is_chack
        {
            set { _is_chack = value; }
            get { return _is_chack; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool chekin
        {
            set { _chekin = value; }
            get { return _chekin; }
        }
        #endregion Model

    }
}

